export const option = function () {
  return {
    refreshBtn: true,
    columnBtn: true,
    border: true,
    stripe: true,
    index: true,
    editBtn: true,
    delBtn: true,
    align:'center',
    addBtn: !['view'].includes(this.type),
    menu: !['view'].includes(this.type),
    labelWidth: 150,
    indexLabel: '序号',
    column: [
      {
        label: '车辆类型',
        prop: 'vehicleTypeA',
        rules: [
          {
            required: true,
            message: '请输入车辆类型',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '数量',
        prop: 'quantityA',
        type: 'number'
      },
      {
        label: '车辆型号/物流名称',
        prop: 'logisticsNameA'
      }
    ]
  }
}
